package com.spring.demo.rabbit.config;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/***
 * @title config
 * @description:启用rabbitMQ
 * @author baiji
 * @version 1.0.0
 * @create 2023/9/4 9:37
 **/
@Configuration
@EnableRabbit
@Import(Jackson2JsonMessageConverter.class)
public class RabbitConfig {

}
